<template>
    <div>
        <a v-bind:href="url">去百度</a>
        <img :src="img" alt="">
    </div>
</template>

<script>
export default {
    name: 'VuecliDemoApp',

    data() {
        return {
            url:'http://www.baidu.com',
            img:'https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fimage.biaobaiju.com%2Fuploads%2F20190424%2F12%2F1556080554-MiGpXQvHBV.jpg&refer=http%3A%2F%2Fimage.biaobaiju.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=jpeg?sec=1641628461&t=ada51c0f735dc9bc1514bc79fca17fb1'
        };
    },

    mounted() {
        
    },

    methods: {
        
    },
};
</script>

<style lang="scss" scoped>

</style>